var enterpriseModule=new Object({
   //加载公司信息
   loadEnterprise : function(){
       $.ajax({
           url : '/front/queryEnterpriseByNomal',
           type : 'post',
           dataType : 'json'
       }).done(function(data){
           if(data){
               $('.fh5co-nav>.top .row').empty();
               var top_html='<div class="col-xs-12 text-right">'+
                                '<p class="site">'+data[0].url+'</p>'+
                                '<p class="num">客服电话: + '+data[0].phone+'</p>'+
                                '<ul class="fh5co-social">'+
                                    '<li><a href="#"><i class="icon-facebook2"></i></a></li>'+
                                    '<li><a href="#"><i class="icon-twitter2"></i></a></li>'+
                                    '<li><a href="#"><i class="icon-dribbble2"></i></a></li>'+
                                    '<li><a href="#"><i class="icon-github"></i></a></li>'+
                                '</ul>'
                            '</div>';
               $('.fh5co-nav>.top .row').append(top_html);
               $('#fh5co-footer .desc').empty();
               var footer_desc='<h3>'+data[0].name+'</h3><p>'+data[0].description+'</p>';
               $('#fh5co-footer .desc').append(footer_desc);
               $('#fh5co-footer .lx').empty();
               var footer_lx='<h3>联系我们</h3>'+
                             '<ul class="fh5co-footer-links ">'+
                                '<li class="col-md-8"><a style="text-decoration: none;">'+data[0].phone+'</a></li>'+
                                '<li class="col-md-8"><a style="text-decoration: none;">'+data[0].address+'</a></li>'
                             '</ul>';
               $('#fh5co-footer .lx').append(footer_lx);
               $('#fh5co-footer .icp').empty();
               var footer_icp='<div class="col-md-12 text-center">'+
                                '<p><small class="block"><a>'+data[0].iCP+'</a></small></p>'+
                              '</div>';
               $('#fh5co-footer .icp').append(footer_icp);
               $('#fh5co-contact .fh5co-contact-info>ul').empty();
               var catact_info='<li class="address">'+data[0].address+'</li><li class="phone"><a href="tel://1234567920">+ '+data[0].phone+'</a></li><li class="email"><a href="mailto:info@yoursite.com">'+data[0].email+'</a></li>'+
                                '<li class="url"><a href="'+data[0].url+'">'+data[0].url+'</a></li>';
               $('#fh5co-contact .fh5co-contact-info>ul').append(catact_info);
           }
       })
   }
});